#ifndef IRFID_H_INCLUDED
#define IRFID_H_INCLUDED

#include "serialprotocol.h"

#define KEY_A 0x60
#define KEY_B 0x61

u8 Read_card(u8 addr);
u8 Read_ID();
u8 Write_card(u8 addr,u8 *data);
u8 Auth_block(u8 mode,u8 addr,u8 *key);

#endif // IRFID_H_INCLUDED


